<ion-view>
    <ion-nav-title>
    <div class="headerb button-bar">
            <button class="button button-app button-android"  ng-class="{ 'button\-positive': demo == 'ios' }" ng-click="setPlatform('ios')">司机列表</button>
            <button class="button button-app button-android"  ng-class="{ 'button\-positive': demo == 'android' }" ng-click="setPlatform('android')">天气预报</button>

        </div>
        <!-- <img class="titlogo" src='/logoa.svg' /> -->
    </ion-nav-title>
    <ion-nav-buttons side="right">
        <a nav-clear menu-close class="button button-icon button-clear ion-model-s" ng-href="#/main/amap"></a>
    </ion-nav-buttons>
    <!-- <ion-header-bar class="busheader bar bar-subheader">
    
        
    
    </ion-header-bar> -->

    <ion-content scroll="true" scrollbar-y="false" ng-show="demo == 'ios'">
        <div class="list card" id="hidecad" ng-hide="(users.length>
            1 || userrequests.length>0) || (!$root.currentUser && users.length>0)">
            <div class="cardItem item item-avatar">
                <img src='/aver.jpg' />
                <h2>谷锋科技</h2>
                <p>八月4日, 2015</p>
            </div>
            <div class="cardItem item item-body">
                <p style="margin-top: 0; text-indent: 2em; line-height: 22px;">
                    梅州的车圈商圈日益繁华，梅州谷锋科技携手广东耀顺商务呕心沥血共同打造多元化的本土代驾平台(APP)，全身心致力于改善与缓解梅州商圈车圈各类型状况，为广大市民的出行以及商务交际保驾护航。我们是驾驾，驾给你，享痛快。
                </p>
            </div>
            <div class="forpep item tabs tabs-secondary tabs-icon-left">
                <p>为人类服务！</p>
            </div>
        </div>
        <div class="list card" id="drinfo" ng-show="users.length>
            1 || (!$root.currentUser && users.length>0)">
            <a ng-repeat="user in users" ng-hide="($root.currentUser || $root.loggingIn) && $root.currentUser._id == user._id" href="tel:{{user.others.tel}}" target="_self">
                <div class="item item-avatar" id="driverInfo">
                    <img ng-src="{{user.images.face}}">
                    <h2>{{user.others.realname}}</h2>
                    <p>位置:{{user.formatted_address}}</p>
                    <p>电话:{{user.others.tel}}</p>
                </div>
            </a>
        </div>
        <div class="list card" id="drinfo" ng-if="userrequests.length>
            0 && isDriver()">
            <div ng-repeat="request in userrequests">
                <a ng-href="#/requestinfo/{{request._id}}" target="_self">
                    <div class="item" id="driverInfo">
                        <h2>出发地点:{{request.address}}</h2>
                        <p>电话:{{request.tel}}</p>
                    </div>
                </a>
            </div>
        </div>

    </ion-content>

    <ion-content scroll="true" scrollbar-y="false" ng-show="demo == 'android'">

        <div class="list card" id="weathercad">
                        <iframe id="forecast_embed" type="text/html" frameborder="0" height="245" width="100%" src="http://forecast.io/embed/#lat=24.299112&lon=116.117582&name=梅州&color=#43298E&font=Georgia&units=si"></iframe>
       
        <!-- <div style="width: 475px; background-color:#FFFFFF;">
            <iframe style="overflow:hidden;border:none" allowtransparency="true" width="100%" height="205" src="http://zh.weather-forecast.com/locations/Meizhou/forecasts/latest/threedayfree" scrolling="no" frameborder="0" marginwidth="0" marginheight="0"></iframe>
        
        </div> -->
         

    </div>

</ion-content>
</ion-view>